W32: Remove selection from check/radio marks
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 26 Mar 2014 11:59:52 +0000 (11:59 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 1 Apr 2014 10:36:46 +0000 (10:36 +0000)
Current theme allows selection to leak into check/radio marks,
resulting in ugly colored rectangles showing up underneath the marks.

https://bugzilla.gnome.org/show_bug.cgi?id=727211

gtk/resources/theme/gtk-win32-base.css

index 9f6bc0a966056e5728560b1b5225555d5bb832b4..1855bfe9dc37a18c15d5041a28ff7212cc3e61d6 100644 (file)
@@ -200,6 +200,10 @@ GtkButton.check:active:prelight {
     background-image: -gtk-win32-theme-part(button, 3 10);
 }
 
+.check:selected {
+    background-color: transparent;
+}
+
 /* Radio buttons */
 
 .radio {
@@ -240,6 +244,10 @@ GtkButton.check:active:prelight {
     background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3));
 }
 
+.radio:selected {
+    background-color: transparent;
+}
+
 /* Scrollbars */
 
 /* TODO: Win32 has different concept for upper and lower trough, we